package lexicalUnit;

import chalmersbot.Absyn.IsVerb;
import chalmersbot.Absyn.IsVrb.Visitor;

public class CheckIsVrb implements Visitor<String, Environ> {

	@Override
	public String visit(IsVerb p, Environ env) {
		if (p.istoken_.compareTo("is")==0){
			env.setSingular("are", "is");
			env.setPlural("is", "are");
		}else {
			env.setSingular("ware", "was");
			env.setPlural("was", "were");
		}
		return p.istoken_;
	}

}
